package com.baizhiedu.rsm.service.impl;

import com.baizhiedu.rsm.dao.ZxTeacherDao;
import com.baizhiedu.rsm.entity.ZxTeacher;
import com.baizhiedu.rsm.service.ZxTeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZxTeacherServiceImpl implements ZxTeacherService {
    @Autowired
    private ZxTeacherDao zxTeacherDao;

    @Override
    public List<ZxTeacher> showAll() {
        return zxTeacherDao.selectAll();
    }
}
